-- card: 3055 from stack: in.1 -- bmap block id: 3273 -- flags: 0000 -- background id: 2661 -- name: -- part 1 (field) -- low flags: 01 -- high flags: 0007 -- rect: left=69 top=68 right=252 bottom=434 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 9 -- style flags: 0 -- line height: 12 -- part name: Text -- part 5 (button) -- low flags: 00 -- high flags: A003 -- rect: left=174 top=281 right=311 bottom=343 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: GlobalList ----- HyperTalk script ----- on mouseUp answer "List all :" with "TRUE" or "FALSE" answer GlobalList(it) end mouseUp -- part contents for card part 1 ----- text ----- GlobalList 1.1 by Frédéric RINALDI DESCRIPTION ------------ GlobalList returns the list of available global variables. SYNTAX -------- GlobalList([]) PARAMETERS ------------ is a boolean, making the returned list contain all global variables available (TRUE), or only those not handled by HyperCard or the Home stack (FALSE). Default is FALSE. Using "!" and "?" as parameter will return an online help (resp. copyright and syntax). USING ----- The XFCN return an itels delimited list of variable names. If an error occurs, GlobalList can return : "Error : Out of Memory" "Error : Parameter must be true or false" VERSIONS --------- 1.1 : • Fixed returned value when no globals are defined -------------------------------------------------------------------- This (these) external(s) is (are) FreeWare,allowing unlimited use in any non-commercial stack. You just need in this case to mention the author's name and copyright in your stack. Any commercial use must be licensed and aknowledged by the author. © F. Rinaldi - 1989,1990,1991 AppleLink: RINALDI1 CalvaCom : FR10 Compuserve : 71170,2111